<?php
/**
 * Events table class
 * @author 		TAMDV
 * @date		2008 07 28 (yyyy MM dd)
 * @package    	Joomus.JBS
 * @subpackage 	Components
 * @link 		http://localhost/jbschedule/administrator/index.php?option=com_jbschedule
 * @license		GNU/GPL
 */

// no direct access
//defined('_JEXEC') or die('Restricted access');


/**
 * Events Table class
 *
 * @package    	Joomus.JBS
 * @subpackage	Components
 */
class TableEvents extends JTable {
	/**
	 * Primary Key
	 *
	 * @var int
	 */
	public $id 				= null;	
	public $user_id 		= null;
	public $eventtype_id 	= null;
	public $start_date 		= null;
	public $end_date	 	= null;
	public $start_time 		= null;
	public $end_time	 	= null;
	public $color	 		= null;
	public $use_master_color= null;
	public $is_allday_event = null;
	public $is_meeting 		= null;
	public $subject 		= null;
	public $content 		= null;
	public $published		= null;
	public $ordering 				= null;
	public $recur_type 				= null;
	public $recur_daily_day			= null;
	public $recur_daily_weekday		= null;
	public $recur_weekly_week		= null;
	public $recur_weekly_week_day	= null;
	public $recur_monthly_month_day	= null;
	public $recur_monthly_month_date= null;
	public $recur_yearly_year_month	= null;
	public $recur_yearly_year_months= null;
	
	/**
	 * 
	 *@access protected 
	 *@param string $table name of the table in the db schema relating to child class 
	 *@param string $key name of the primary key field in the table 
	 *@param object $db JDatabase object 
	 */
	function TableEvents(& $db) {
		parent::__construct ( '#__jbschedule_events', 'id', $db );
		//TODO - Insert your code here
	}
}
?>